package com.xinruke.hostels.dailymanage.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author GuoZheng
 * @ClassName CommentAuditQueryDTO
 * @date：2019/6/22
 * @version: V1.0.0
 * @description：审核评论DTO
 */

@ApiModel("审核评论DTO")
@Data
public class CommentAuditQueryDTO {
    @ApiModelProperty(value = "评论id",required = true)
    @NotNull(message = "评论id不能为空")
    private Integer id;

    /**
     * 状态:0待审核1审核通过2审核未通过
     */
    @ApiModelProperty(value = "状态:1审核通过2审核未通过",allowableValues = "{1,2}",required = true)
    @NotNull(message = "审核意见不能为空")
    private Byte zhuangtai;


}
